home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_319
/
cnewssrc
/
uupc.lzh
/
uupc
/
sleep.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-16
|
470b
|
29 lines
/*
* sleep
*
* Amiga Library
*
* $Id: sleep.c,v 1.2 90/01/16 10:27:31 crash Exp Locker: crash $
*/
#ifndef lint
static char RCSid[] = "$Id: sleep.c,v 1.2 90/01/16 10:27:31 crash Exp Locker: crash $";
#endif /* lint */
#ifdef AMIGA
# include <libraries/dos.h>
#endif
void sleep( seconds )
unsigned int seconds;
{
if ( seconds > 0 )
Delay( (long) (seconds * TICKS_PER_SECOND) );
}
void ticks( ticks )
unsigned long ticks;
{
if (ticks > 0) Delay( ticks );
}